matching exponential functions with graphs